<template>
    
  <div>
    <mavon-editor
      v-model="value"
      :toolbarsFlag="toolbarsFlag"
      :defaultOpen="defaultOpen"
      :subfield="subfield"
    ></mavon-editor>
  </div>
</template>

<script>
export default {
  name: "ArticlePage",
  components: {},
  props: ["articleData"],
  data() {
    return {
      value: "# 111",
      toolbarsFlag: false,
      defaultOpen: "preview",
      subfield: false,
    };
  },
  computed: {},
  watch: {},
  created() {
      this.value = this.articleData.content;
  },
  mounted() {},
  methods: {},
};
</script>

<style scoped lang="scss">
</style>
